package cn.com.greatwall.user.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import cn.com.greatwall.common.model.SysRole;
import cn.com.greatwall.db.mapper.SuperMapper;

/**
 * @Author herw
 * @Time 2022-02-18 16:18:11
 * @Version 1.0
 * @Description: 角色
 */
@Mapper
public interface SysRoleMapper extends SuperMapper<SysRole> {
    List<SysRole> findList(Page<SysRole> page, @Param("r") Map<String, Object> params);

    List<SysRole> findAll();
}
